package nautilus.moneykeeper.system;

import android.os.Environment;

public class Constant {
	public static final int LANG_ENG = 1;
	public static final int LANG_VI = 2;
	
	public static final String DATE_FORMAT_DDMMYYYY_HHMM = "dd/MM/yyyy hh:mm";
	public static final String DATE_FORMAT_MMDDYYYY_HHMM = "MM/dd/yyyy hh:mm";
	public static final String DATE_FORMAT_DDMMYYYYHHMMSS = "MMddyyyyhhmmss";
	
	//These are handler common messages, private handler message will be 
	//started from 100
	public static final int MSG_LOAD_DATA_ERROR = -1;
	public static final int MSG_LOAD_DATA_DONE = 1;
	public static final int MSG_DATA_SAVED_OK = 2;
	
	public static final int REQUEST_TAKE_PICTURE = 1;
	
	//this key is used to restore the state of activity/fragment
	public static final String CLASS_NAME = "CLASS_NAME";
	
	//These constants is used as key when we pass arguments through bundle/activity
	public static final String EXTRA_ACCOUNT = "ACCOUNT";
	public static final String EXTRA_TRANSACTION = "TRANSACTION";
	public static final String PICTURE_STORE = Environment.getExternalStorageDirectory()+ "/MoneyKeeper/images";
	public static final String BACKUP_STORE = Environment.getExternalStorageDirectory()+ "/MoneyKeeper/backup";
	
}
